import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// import "./elementU/ui"
import http from "./http"
import Bus from "vue"
import ElementUI from 'element-ui';
import mavonEditor from 'mavon-editor'
import 'mavon-editor/dist/css/index.css'
Vue.use(mavonEditor)
Vue.prototype.$axios = http
Vue.prototype.$Bus = Bus

Vue.config.productionTip = false
const isDebug_mode = process.env.NODE_ENV !== 'production';
(<any>Vue.config).debug = isDebug_mode;

Vue.config.devtools = isDebug_mode;
Vue.config.silent = !isDebug_mode
Vue.config.productionTip = isDebug_mode;
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
